package com.ktjiaoyu.ktmall.entity;

import java.util.List;

public class Category {
    //字段名
    private String   id;
    private String name;
    private String   parent_id;
    private String  icon;
    private Integer sort;
    private Integer status;
    private Integer is_deleted;
    private String   update_time;
    private List<Category> children;

    public Category() {
    }

    public Category(String id, String name, String parent_id, String icon, Integer sort, Integer status, Integer is_deleted, String update_time, List<Category> children) {
        this.id = id;
        this.name = name;
        this.parent_id = parent_id;
        this.icon = icon;
        this.sort = sort;
        this.status = status;
        this.is_deleted = is_deleted;
        this.update_time = update_time;
        this.children = children;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getParent_id() {
        return parent_id;
    }

    public void setParent_id(String parent_id) {
        this.parent_id = parent_id;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getIs_deleted() {
        return is_deleted;
    }

    public void setIs_deleted(Integer is_deleted) {
        this.is_deleted = is_deleted;
    }

    public String getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(String update_time) {
        this.update_time = update_time;
    }

    public List<Category> getChildren() {
        return children;
    }

    public void setChildren(List<Category> children) {
        this.children = children;
    }
}
